﻿function DisplayDialog (message) {

    $.fx.speeds._default = 350;
    
    var dialogObject = $('#dialog');
    dialogObject.text(message);
    dialogObject.css('visibility', 'visible').dialog(
    {
        buttons:
            {
                'OK': function () { $(this).dialog('close'); },
            },
        modal: true,
        resizable: false,
        show: 'fade',
        hide: 'fold'
    });
}